package com.wwf.pojo;

import com.mchange.v2.c3p0.ComboPooledDataSource;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Configuration {
    private DataSource dataSource;
    private Map<String,MappedStatement> mappedSatements = new HashMap<String, MappedStatement>();

    public void setDataSource(ComboPooledDataSource comboPooledDataSource) {
        this.dataSource = comboPooledDataSource;
    }

    public DataSource getDataSource() {
        return dataSource;
    }

    public Map<String, MappedStatement> getMappedSatements() {
        return mappedSatements;
    }

    public void setMappedSatements(Map<String, MappedStatement> mappedSatements) {
        this.mappedSatements = mappedSatements;
    }
}
